package com.phrp.service;

import com.phrp.entity.User;
import com.phrp.entity.vo.UserSearchDataVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.phrp.util.returnResult.ResponseResult;

import java.util.LinkedList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ssc
 * @since 2024-04-06
 */
public interface UserService extends IService<User> {

    ResponseResult addUser(User user);

    ResponseResult searchUser(UserSearchDataVo searchData);

    ResponseResult deleteUser(LinkedList<String> id);

    ResponseResult editUser(User user);

    ResponseResult resetPassword(LinkedList<String> ids);

    ResponseResult updateStatus(String id, String type);
}
